describe("Breeze Utils testing",function(){
    var transactonStatuses;
    beforeEach(function(){
        transactonStatuses ={
            'TN': 'Pending',
            'TE': 'Expired',
            'TY': 'Approved',
            'TR': 'Declined'
        };

    });
    it("BreezeUtils.getAuthoriseTransactionStatusDescription returns Status Description",function(){

        var statusCode = BreezeUtils.getAuthoriseTransactionStatusDescription("TN");
        expect(statusCode).toEqual("Pending");
    });


    it("BreezeUtils.getAuthoriseTransactionStatusDescription returns unknown",function(){
        var statusCode = BreezeUtils.getAuthoriseTransactionStatusDescription("AE");
        expect(statusCode).toEqual("Unknown");
    });

    it("BreezeUtils.formatExchangeRate returns ''",function(){
        var fxRate = BreezeUtils.formatExchangeRate(null);
        expect(fxRate).toEqual('');
    });

    it("BreezeUtils.formatExchangeRate returns some value",function(){
        var fxRate = BreezeUtils.formatExchangeRate(1);
        expect(fxRate).toEqual('1.00000');
    });

});